package com.levi.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author shentong
 * @since 2022/6/9 3:40 PM
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("积分实体类")
public class Point {

    @TableId(value = "id",type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户id")
    private Integer userId;

    @ApiModelProperty("订单编号")
    private Integer orderNo;

    @ApiModelProperty("积分")
    private Integer points;

    @ApiModelProperty("备注")
    private String remark;
}
